package com.szwistar.common.datastruct;

import java.lang.reflect.Method;

public class ObjectMethod {
	Object owner;
	Method method;

	public Object getOwner() { return owner; }
	public void setOwner(Object owner) { this.owner = owner; }
	public Method getMethod() { return method; }
	public void setMethod(Method method) { this.method = method; }

	public ObjectMethod(Object owner, Method method) {
		super();
		this.owner = owner;
		this.method = method;
	}

	@Override
	public String toString() {
		return owner.toString() + ":" + method.getName();
	}
}
